@model T2.WebSecurity.ASPMVC.ViewModel.ApplicationUserViewModel
         
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title></title>
</head>
<body>
	
	<script type="text/javascript">

        jQuery(document).ready(function() {
        $('#nav').show();
       
		
		 $('#Details').click(function(event) {
				$.ajax({
					url: '@Url.Content("~/ApplicationUser/ApplicationUserDetails/")' + ApplicationUserID,
					cache: false,
					success: function (html) {
					$('#Main').html(html);
					return false;
				}});
			});
			 $('#Add').click(function(event) {
				$.ajax({
					url: '@Url.Content("~/ApplicationUser/NewApplicationUserForm/")',
					cache: false,
					success: function (html) {
					$('#Dialog').html(html);
					$('#Dialog').dialog({modal:true});
					return false;
				}});
			});
			 $('#Update').click(function(event) {
				$.ajax({
					url: '@Url.Content("~/ApplicationUser/UpdateApplicationUserForm/")' + ApplicationUserID,
					cache: false,
					success: function (html) {
					$('#Dialog').html(html);
					$('#Dialog').dialog({modal:true});
					return false;
				}});
			});
			 $('#Search').click(function(event) {
				$.ajax({
					url: '@Url.Content("~/ApplicationUser/ApplicationUserSearchAccordion/")' + ApplicationUserID,
					cache: false,
					success: function (html) {
					$('#Main').html(html);
					return false;
				}});
				$.ajax({
					url: '@Url.Content("~/ApplicationUser/ApplicationUserAccordion/")',
					cache: false,
					success: function (html) {
					$('#Nav').html(html);
					return false;
				}});
			});
		
		$("#applicationuseraccordion1").accordion();


    }); 
    </script>
     <div id="applicationuseraccordion1">
    <h3><a href="#">Edit Options</a></h3>
     <ul>
<li><a href="#" id="Add">Add</a></li>
<li><a href="#" id="Update">Update</a></li>
<li><a href="#" id="Search">Search</a></li>
<li><a href="#" id="Remove">Remove</a></li>
<li><a href="#" id="Details">Details</a></li>
		
	 </ul>
	 
	  <h3><a href="#">Related Items</a></h3>
	  <ul>
               
            </ul>
    </div>
</body>
</html>